<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>工具函数应用</title>
    <script src="./index.js"></script>
</head>
<body>

    <button id="btn">点击</button>

    <script>

        btn.addEventListener('click', debounce(callBack))

        function callBack() {
             console.log('回调函数执行')
        }


    </script>
    
</body>
</html>